<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹性压缩</title>
		<style type="text/css">
		
		.flex-container{
			display: flex;
			width: 1024px;
			background-color: #FFC0CB;
		}
		.flex-container > div{
			width: 15.625rem;
			margin: 1.25rem;
			padding: 1.25rem;
			color: white;
			text-align: center;
			background-color: aqua;
		}
		.shrink0{
			flex-shrink: 0;
		}
		.shrink2{
			flex-shrink: 2;
		}
		</style>
	</head>
	<body>
		<div class="flex-container">
			<div>1</div>
			<div class="shrink0">2</div>
			<div class="shrink2">3</div>
			<div>4</div>
			<div>5</div>
		</div>			
			
	</body>
</html>
